import Vue from 'vue'
import App from '@/App.vue'
import plugins from '@/plugins';
import store from '@/store';
import VueRouter from 'vue-router';
import router from '@/router';
import '@/assets/css/common.css'

console.log('vue version: ', Vue.version)

Vue.config.productionTip = false;
Vue.use(plugins);
Vue.use(VueRouter);

new Vue({
	render: h => h(App),
	store,
	router,
	beforeCreate() {
		Vue.prototype.$bus = this; // 挂载全局事件总线
	}
}).$mount('#app')
